home *** CD-ROM | disk | FTP | other *** search
/ Mac Expert 1995 Winter / Mac Expert - Winter 95.iso / Les fichiers / Mise à jour / Resorcerer 1.1->1.1.1ƒ / 1.1 --> 1.1.1 New Features < prev    next >
Encoding:
Text File  |  1992-06-08  |  1.1 KB  |  23 lines  |  [TEXT/ttxt]

  1. The Hex/Code Editor now supports the Print to Text File sub-menu of the Print command.
  2.  
  3. Resorcerer 1.1.1 implements three new TMPL field types that didn't make into 1.1, but they were pretty easy to add so we did:
  4.  
  5.         'BFLG'         (Byte Boolean Flag)
  6.         'WFLG'        (Word Boolean Flag)
  7.         'LFLG'         (Long Boolean Flag)
  8.  
  9. All three of these fields store either 0 or 1 in the LSB (Least Significant Bit) for the storage size, and all three can have their values changed using the Toggle command in the Custom Editor.  The 'BOOL' field remains implemented in the same way it always has been (it stores either 0 or non-zero into a word, the non-zero value being taken from Resorcerer's 'BOOL' resource, shipped with $0100 in it).   The 'BFLG' field is the most useful, since many C folks store TRUE (1) or FALSE (0) flags in char fields in structs, rather than going down to the bit field level.
  10.  
  11. The 'BFLG' field is the equivalent of
  12.         BB07    Reserved
  13.         BBIT     The low order bit
  14.  
  15. The 'WFLG' field is the equivalent of
  16.         WB15    Reserved
  17.         WBIT    The low order bit
  18.  
  19. The 'LFLG' field is the equivalent of
  20.         LB31    Reserved
  21.         LBIT    The low order bit
  22.  
  23.